<?php
$root=preg_replace("/^(.*(yunshop|shante)).*$/Uisx","\\1",getcwd());
include("{$root}/myzhuaqu.php");
$text10=<<<TEXT10
GET https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=0&display_all=0&appid=1&__token=86122bbe88e46bcb9c79d2170484aa77&_bid=ffa_goods&_lid=504130110236&verifyFp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&fp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&msToken=MVGl21xcPMMrs0WmKccrSdz9XEAgXaY2V8GsM8dD1NmhF_uDjdH1WKq45ov3oSXNHnhXpIei0tz8OimcnXWwiFLQ2SWFdO9bbCrzWMVQ586Ki9kvmlAR&a_bogus=mvRMMRLgDifN6dgh55xLfY3qIR-3YB9-0Gi0MDZMKVf7qg39HMPU9exoKa0vXhSjLT%2FAIeEjy4hbO3xprQcH0qwf7Wsx%2F2CZmyh0t-P2so0j53intL6mE0hN-Jj3SFlm5XNAEOJ0y75nFmT0W9njmhK4bfebY7Y6i6triD%3D%3D HTTP/1.1
Host: fxg.jinritemai.com
Connection: keep-alive
accept: application/json, text/plain, */*
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
DNT: 1
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://fxg.jinritemai.com/ffa/g/create?btm_ppre=a0.b0.c0.d0&btm_pre=a2427.b76571.c902327.d871297
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6,bg;q=0.5,zh-TW;q=0.4,ru;q=0.3,th;q=0.2
Cookie: passport_csrf_token=0af6b510be14eb24bd3bb5c617ba15ca; passport_csrf_token_default=0af6b510be14eb24bd3bb5c617ba15ca; csrf_session_id=5dddf88caaad1efd04c10418284820a2; x-jupiter-uuid=17101276818738970; Hm_lvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; Hm_lpvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; ttcid=3e73b12e8cf54cb2b9d0eb6399220d7f30; tt_scid=dihZ6YYO6zXwyS36cdEhrRv5Z0XfE6pkEe-VLyt57sJyHs-hDCpAvTY3HWkpK8mt7384; s_v_web_id=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH; passport_auth_status=a5205f410c983703365be268c9367569%2C; passport_auth_status_ss=a5205f410c983703365be268c9367569%2C; uid_tt=768fafe48cda81e9f3c5362c2ec9d4ad; uid_tt_ss=768fafe48cda81e9f3c5362c2ec9d4ad; sid_tt=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid_ss=515c5b3dfbaba435f326eb0bc6bf41c2; ucas_c0=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; ucas_c0_ss=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; sid_guard=515c5b3dfbaba435f326eb0bc6bf41c2%7C1710127799%7C5184000%7CFri%2C+10-May-2024+03%3A29%3A59+GMT; sid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; ssid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; store-region=cn-gx; store-region-src=uid; PHPSESSID=776bf91b4748ec08a9224b18039f3e43; PHPSESSID_SS=776bf91b4748ec08a9224b18039f3e43; login_info=%7B%22for_im_reply%22%3A%22776bf91b4748ec08a9224b18039f3e43%22%7D; msToken=oUeAHMia10KIvbTTl3TZYPuJs2IUDAvM4BLaDKF20AsaSUV33WPHyutxplFolne6esym9lEjheWhHJy5BN3gTNpeDxDrdvYcWPiFnXENZg3wVIunV9XQ
Pragma: no-cache

TEXT10;
$text20=<<<TEXT20
GET https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=20056&display_all=0&appid=1&__token=86122bbe88e46bcb9c79d2170484aa77&_bid=ffa_goods&_lid=513415721726&verifyFp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&fp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&msToken=A0iGu0qa6butBQIMydA_qe5u4MM1VY-wsUkho4oJlZYyzO4F0TddYvGbITmcmRt604iXPbYqApVirFk7vXwCgEUo8dVduJzBgfqlUC23e-vdDZPRIKrkeeApwwaRuQ%3D%3D&a_bogus=E7Rh%2FdhXDDDi6Dgk55xLfY3qI4q3YMCh0Gi0MDZMFdv1Rg39HMYm9exEKc7vOm6jLT%2FAIebjy4hbO3xprQcH0qwf7Wsx%2F2CZmyh0t-P2so6Gs1s9uyRkrzDF-vGWS-BBRk-lrOX0w7lHFb8kAdAa57PvPjoja3LkFk6FOoQx HTTP/1.1
Host: fxg.jinritemai.com
Connection: keep-alive
sec-ch-ua: "Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"
Accept: application/json, text/plain, */*
DNT: 1
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
sec-ch-ua-platform: "Windows"
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://fxg.jinritemai.com/ffa/g/create?btm_ppre=a0.b0.c0.d0&btm_pre=a2427.b76571.c902327.d871297
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6,bg;q=0.5,zh-TW;q=0.4,ru;q=0.3,th;q=0.2
Cookie: passport_csrf_token=0af6b510be14eb24bd3bb5c617ba15ca; passport_csrf_token_default=0af6b510be14eb24bd3bb5c617ba15ca; csrf_session_id=5dddf88caaad1efd04c10418284820a2; x-jupiter-uuid=17101276818738970; Hm_lvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; Hm_lpvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; ttcid=3e73b12e8cf54cb2b9d0eb6399220d7f30; tt_scid=dihZ6YYO6zXwyS36cdEhrRv5Z0XfE6pkEe-VLyt57sJyHs-hDCpAvTY3HWkpK8mt7384; s_v_web_id=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH; passport_auth_status=a5205f410c983703365be268c9367569%2C; passport_auth_status_ss=a5205f410c983703365be268c9367569%2C; uid_tt=768fafe48cda81e9f3c5362c2ec9d4ad; uid_tt_ss=768fafe48cda81e9f3c5362c2ec9d4ad; sid_tt=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid_ss=515c5b3dfbaba435f326eb0bc6bf41c2; ucas_c0=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; ucas_c0_ss=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; sid_guard=515c5b3dfbaba435f326eb0bc6bf41c2%7C1710127799%7C5184000%7CFri%2C+10-May-2024+03%3A29%3A59+GMT; sid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; ssid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; store-region=cn-gx; store-region-src=uid; PHPSESSID=776bf91b4748ec08a9224b18039f3e43; PHPSESSID_SS=776bf91b4748ec08a9224b18039f3e43; login_info=%7B%22for_im_reply%22%3A%22776bf91b4748ec08a9224b18039f3e43%22%7D; msToken=oUeAHMia10KIvbTTl3TZYPuJs2IUDAvM4BLaDKF20AsaSUV33WPHyutxplFolne6esym9lEjheWhHJy5BN3gTNpeDxDrdvYcWPiFnXENZg3wVIunV9XQ
Pragma: no-cache

TEXT20;

$text30=<<<TEXT30
GET https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=21191&display_all=0&appid=1&__token=86122bbe88e46bcb9c79d2170484aa77&_bid=ffa_goods&_lid=519607698107&verifyFp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&fp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&msToken=F1eyJM_r9r_ZC2yqmdeHHywOLYAxlVBHf9craMorccRc9mUy2xeun7bexBQeyeUh9zFfFXvMAZoEYJitL9QR_BeM-H9LPwwKYw3MFPfTU6b3Qd2qoREtdrFaRITjTA%3D%3D&a_bogus=DJm0MQ0DDkfPgfgD55oLfY3qIIF3YMtr0Gi0MDZMGxv1eL39HMPp9exEKwzv0LgjLT%2FAIebjy4hbO3xprQcH0qwf7Wsx%2F2CZmyh0t-P2so6Gs1s9uyRkrzDF-vGWS-BBRk-lrOX0w7lHFb8kAdAa57PvPjoja3LkFk6FOomh HTTP/1.1
Host: fxg.jinritemai.com
Connection: keep-alive
sec-ch-ua: "Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"
Accept: application/json, text/plain, */*
DNT: 1
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
sec-ch-ua-platform: "Windows"
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://fxg.jinritemai.com/ffa/g/create?btm_ppre=a0.b0.c0.d0&btm_pre=a2427.b76571.c902327.d871297
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6,bg;q=0.5,zh-TW;q=0.4,ru;q=0.3,th;q=0.2
Cookie: passport_csrf_token=0af6b510be14eb24bd3bb5c617ba15ca; passport_csrf_token_default=0af6b510be14eb24bd3bb5c617ba15ca; csrf_session_id=5dddf88caaad1efd04c10418284820a2; x-jupiter-uuid=17101276818738970; Hm_lvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; Hm_lpvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; ttcid=3e73b12e8cf54cb2b9d0eb6399220d7f30; tt_scid=dihZ6YYO6zXwyS36cdEhrRv5Z0XfE6pkEe-VLyt57sJyHs-hDCpAvTY3HWkpK8mt7384; s_v_web_id=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH; passport_auth_status=a5205f410c983703365be268c9367569%2C; passport_auth_status_ss=a5205f410c983703365be268c9367569%2C; uid_tt=768fafe48cda81e9f3c5362c2ec9d4ad; uid_tt_ss=768fafe48cda81e9f3c5362c2ec9d4ad; sid_tt=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid_ss=515c5b3dfbaba435f326eb0bc6bf41c2; ucas_c0=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; ucas_c0_ss=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; sid_guard=515c5b3dfbaba435f326eb0bc6bf41c2%7C1710127799%7C5184000%7CFri%2C+10-May-2024+03%3A29%3A59+GMT; sid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; ssid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; store-region=cn-gx; store-region-src=uid; PHPSESSID=776bf91b4748ec08a9224b18039f3e43; PHPSESSID_SS=776bf91b4748ec08a9224b18039f3e43; login_info=%7B%22for_im_reply%22%3A%22776bf91b4748ec08a9224b18039f3e43%22%7D; msToken=oUeAHMia10KIvbTTl3TZYPuJs2IUDAvM4BLaDKF20AsaSUV33WPHyutxplFolne6esym9lEjheWhHJy5BN3gTNpeDxDrdvYcWPiFnXENZg3wVIunV9XQ
Pragma: no-cache


TEXT30;

$text40=<<<TEXT40
GET https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=24436&display_all=0&appid=1&__token=86122bbe88e46bcb9c79d2170484aa77&_bid=ffa_goods&_lid=555486288932&verifyFp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&fp=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH&msToken=FUh8xVlG9HpZefeLFQ0m6fFZKcetwPW7f7cVkr5YYKRzsUS0kPOYJYXZ7ESM3DxCRMy9tjDTTmLaUO4F06DtCPeHsF_M_9dGuOpCLVvK2tfVt1tsxMu1grSQfFdN7Q%3D%3D&a_bogus=Y6mqBQ0fDEDsfDgk55oLfY3qIR33YMth0Gi0MDZMMxv18639HMP19exEKo7vCXRjLT%2FAIebjy4hbO3xprQcH0qwf7Wsx%2F2CZmyh0t-P2so6Gs1s9uyRkrzDF-vGWS-BBRk-lrOX0w7lHFb8kAdAa57PvPjoja3LkFk6FOomJ HTTP/1.1
Host: fxg.jinritemai.com
Connection: keep-alive
sec-ch-ua: "Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"
Accept: application/json, text/plain, */*
DNT: 1
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
sec-ch-ua-platform: "Windows"
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://fxg.jinritemai.com/ffa/g/create?btm_ppre=a0.b0.c0.d0&btm_pre=a2427.b76571.c902327.d871297
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6,bg;q=0.5,zh-TW;q=0.4,ru;q=0.3,th;q=0.2
Cookie: passport_csrf_token=0af6b510be14eb24bd3bb5c617ba15ca; passport_csrf_token_default=0af6b510be14eb24bd3bb5c617ba15ca; csrf_session_id=5dddf88caaad1efd04c10418284820a2; x-jupiter-uuid=17101276818738970; Hm_lvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; Hm_lpvt_b6520b076191ab4b36812da4c90f7a5e=1710127683; ttcid=3e73b12e8cf54cb2b9d0eb6399220d7f30; tt_scid=dihZ6YYO6zXwyS36cdEhrRv5Z0XfE6pkEe-VLyt57sJyHs-hDCpAvTY3HWkpK8mt7384; s_v_web_id=verify_ltmdw2ka_I5CZbUfJ_1NBb_4dKU_B7Uf_TW6dgBXSADXH; passport_auth_status=a5205f410c983703365be268c9367569%2C; passport_auth_status_ss=a5205f410c983703365be268c9367569%2C; uid_tt=768fafe48cda81e9f3c5362c2ec9d4ad; uid_tt_ss=768fafe48cda81e9f3c5362c2ec9d4ad; sid_tt=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid=515c5b3dfbaba435f326eb0bc6bf41c2; sessionid_ss=515c5b3dfbaba435f326eb0bc6bf41c2; ucas_c0=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; ucas_c0_ss=CkAKBTEuMC4wEImIjo6T1p73ZRjmJiDdksCs742bByiwITDX_dDij4wsQLf1ua8GSLep9rEGULm8hur04cf3Y1huEhQ4PQ5yjloUPj5-desGwQlQ5toWzw; sid_guard=515c5b3dfbaba435f326eb0bc6bf41c2%7C1710127799%7C5184000%7CFri%2C+10-May-2024+03%3A29%3A59+GMT; sid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; ssid_ucp_v1=1.0.0-KDZjNGNmN2NjYTNkNmQ3MWYzNjk4ZDdkMWQ0YWQ5NjUzOGM1YjRlZWIKFgjX_dDij4wsELf1ua8GGLAhOAJA8QcaAmxmIiA1MTVjNWIzZGZiYWJhNDM1ZjMyNmViMGJjNmJmNDFjMg; store-region=cn-gx; store-region-src=uid; PHPSESSID=776bf91b4748ec08a9224b18039f3e43; PHPSESSID_SS=776bf91b4748ec08a9224b18039f3e43; login_info=%7B%22for_im_reply%22%3A%22776bf91b4748ec08a9224b18039f3e43%22%7D; msToken=qIz4PwWRrdvfjMbG9JF2aSstthtfX9wsvlzdh77xwKRhx0RQ01MjGHqIrgQ4Mu4LUFPXMiI4fB-Az1-nQR-OTiiJOA39NsCSQY5vvN_ymkbO8WXdN3NwC7JBp55yTQ==
Pragma: no-cache


TEXT40;




$nr1=http($text10);
$data=json_decode($nr1,1);
//print_r($data);
for($i=0;$i<count($data['data']);$i++){
    $id1=$data['data'][$i]['id'];
    $name1=$data['data'][$i]['name'];
    if($name1!="男装") continue;

    if($data['data'][$i]['is_leaf']) {
        print_r($name1 ."\n");
        continue;
    }
    $text2=str_replaces("20056",$data['data'][$i]['id'],$text20);
    if($text2=="") {
        print_r($name1 ."\n");
        continue;
    }
    $nr2=http($text2);
    $data2=json_decode($nr2,1);
    for($i2=0;$i2<count($data2['data']);$i2++) {
        $name2=$name3="";
        $id2 = $data2['data'][$i2]['id'];
        $name2 = $data2['data'][$i2]['name'];
        if($data2['data'][$i2]['is_leaf']) {
            print_r($name1. "_" .$name2."\n");
            continue;
        }
        $text3=str_replaces("21191",$data['data'][$i2]['id'],$text30);
        if($text3=="") {
            print_r($name1 . "_" . $name2."\n");
            continue;
        }
        $nr3=http($text3);
        $data3=json_decode($nr3,1);
        for($i3=0;$i3<count($data3['data']);$i3++) {
            $name3="";
            $id3 = $data3['data'][$i3]['id'];
            $name3 = $data3['data'][$i3]['name'];
            if($data3['data'][$i3]['is_leaf']) {
                $text4=str_replaces("24436",$data['data'][$i3]['id'],$text40);
                if($text4=="") {
                    print_r($name1 . "_" . $name2. "_" . $name3."\n");
                    continue;
                }
                $nr4=http($text4);
                $data4=json_decode($nr4,1);
                for($i4=0;$i4<count($data4['data']);$i4++) {
                    $name4 = "";
                    $id4 = $data4['data'][$i4]['id'];
                    $name4 = $data3['data'][$i4]['name'];
                    if ($data4['data'][$i4]['is_leaf']) {
                        print_r($name1. "_" .$name2."_" .$name3."_" .$name4."\n");
                    }
                }

            }
        }
    }

}
